<?php 
  echo '<h1>'.$tramites[0].'</h1>';
  if(count($tramites)>1) {
    echo '<ul>';
    foreach($tramites as $idx => $t):
      if($idx) echo '<li>'.$t.'</li>';
    endforeach;  
    echo '</ul>';
  }
?>
